package public

import (
	"github.com/gin-gonic/gin"
	"shop-api/internal/api"
	"shop-api/middleware"
)

func Public(r *gin.Engine) {
	u := r.Group("public")
	u.POST("/send/code", api.SendCode)
	u.Use(middleware.VerifyToken)
	u.POST("/upload/file", api.UploadFile)
}
